package com.swpu.service_weight.mapper;

import com.swpu.service_weight.entity.WeightRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.swpu.service_weight.entity.vo.MonthDataVo;
import org.apache.ibatis.annotations.Mapper;

import javax.xml.crypto.Data;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chaichai
 * @since 2024-02-01
 */
@Mapper
public interface WeightRecordMapper extends BaseMapper<WeightRecord> {

        List<MonthDataVo> getMonthDayAvgData(String openid,Date startDate,Date endDate);
}
